package com.shanzhe.eshop;

import com.shanzhe.eshop.common.config.DruidDataSourceConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

/**
 * @Author yinwei
 * @create 2021/9/25
 * @Version 1.0
 * @desc 系统启动类
 */
@SpringBootApplication
@Import(DruidDataSourceConfig.class)
@MapperScan({"com.shanzhe.eshop.**.mapper"})
public class EshopApplication {

    public static void main(String[] args) {
        SpringApplication.run(EshopApplication.class,args);
    }
}
